package cn.com.oceansoft.business.os.persistence;

import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.os.entity.Show;
import cn.com.oceansoft.business.os.entity.ShowResult;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by zhangxl on 2016/12/23.
 */

@Repository
public interface IShowMapper {
    List<Show> findShow(Query query);

    List<Show> findShowP(Query query);

    int addShow(Show show);

    Show findShowById(int showId);

    int updateShow(Show show);

    int updateShowP(Show show);

    void delShow(int showId);

    List<ShowResult> findShowResult();
}
